//
//  ViewController.m
//  仿支付宝密码输入框
//
//  Created by LH on 17/4/25.
//  Copyright © 2017年 LH. All rights reserved.
//

#import "ViewController.h"
#import "TPSPushPay.h"
@interface ViewController ()<TPSPushPayDelegate>

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)push:(id)sender {
    
    TPSPushPay *popView=[[TPSPushPay alloc]init];
    popView.delegate=self;
    [popView setTitle:@"请输入支付密码" forgetText:@"忘记密码" delegate:self];
    //popView.titleText=@"请输入验证码";
    //[self.view addSubview:popView];
}
-(void)password:(NSString *)password{
    NSLog(@"%@",password);
}
-(void)forgetPassword{
    NSLog(@"忘记密码");
}

@end
